package net.jjjshop.common.constants;

public class SmsConstants {

    public static final String SMS_PREFIX = "hkypshop:";

    /**
     * 短信类型
     */
    public static final String SMS_CONFIG_TYPE_VERIFICATION_TYPE = "register";  /** 验证码 */
    public static final String SMS_CONFIG_TYPE_SETPAYPASS_TYPE = "setPayPass";  /** 设置支付密码验证码 */
    public static final String SMS_CONFIG_TYPE_RESET_TYPE = "resetPass";  /** 重置登录密码 */

    /** 手机验证码redis key */
    public static final String SMS_REGISTER_KEY = SMS_PREFIX+"sms:register:code:";
    public static final String SMS_SETPAYPASS_KEY = SMS_PREFIX+"sms:setPayPass:code:";
    public static final String SMS_RESET_KEY = SMS_PREFIX+"sms:resetPass:code:";


    public static final  Long codeExpireTime = 300L;   /** 验证码过期时间 */
    public static final  Boolean IS_OPEN_DEBUG = true;  //是否开启调试


}

